//
//  YSMenuBottomView.h
//  YSBookRead
//
//  Created by MOLBASE on 2018/11/14.
//  Copyright © 2018年 YangShen. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YSMenuBottomView;
@protocol YSMenuBottomViewDelegate <NSObject>

- (void)menuBottomView:(YSMenuBottomView *)menuBottomView didClickDirectoryButton:(UIButton *)directoryButton;
- (void)menuBottomView:(YSMenuBottomView *)menuBottomView didClickSettingButton:(UIButton *)settingButton;
- (void)menuBottomView:(YSMenuBottomView *)menuBottomView didClickDownloadButton:(UIButton *)downloadButton;

- (void)menuBottomView:(YSMenuBottomView *)menuBottomView didChangeChapter:(NSInteger)chapter;

@end

@interface YSMenuBottomView : UIView

@property (nonatomic, strong) UISlider *slider;
@property (nonatomic, assign) NSInteger currentValue;

@property (nonatomic, weak) id <YSMenuBottomViewDelegate> delegate;

@end
